package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TSUserloginInfo;
import com.kangaroo.myhome.model.TSUserloginInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSUserloginInfoMapper {

    List<TSUserloginInfo> selectByPagination(CommonSearch search);

    long updateByLastLogoutTime(TSUserloginInfo record);

    long selectByPaginationCount(CommonSearch search);

    long countByExample(TSUserloginInfoExample example);

    int deleteByExample(TSUserloginInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(TSUserloginInfo record);

    int insertSelective(TSUserloginInfo record);

    List<TSUserloginInfo> selectByExample(TSUserloginInfoExample example);

    TSUserloginInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TSUserloginInfo record,
        @Param("example") TSUserloginInfoExample example);

    int updateByExample(@Param("record") TSUserloginInfo record, @Param("example") TSUserloginInfoExample example);

    int updateByPrimaryKeySelective(TSUserloginInfo record);

    int updateByPrimaryKey(TSUserloginInfo record);
}